package com.ly.heart.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ly.common.core.domain.ActCurrentTaskVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@ApiModel(value="报价单返回Vo")
@JsonInclude(JsonInclude.Include.ALWAYS)
@Accessors(chain = true)
public class KingInquiryOfferVo {

    @ApiModelProperty ("报价单id")
    private String id;

    @ApiModelProperty ("单据编号")
    private String docCode;

    @ApiModelProperty ("报价日期")
    @JsonFormat (pattern = "yyyy-MM-dd")
    private Date askTime;

    @ApiModelProperty ("物料明细Id")
    private String materialDetailId;

    @ApiModelProperty ("物料Id")
    private String materialId;

    @ApiModelProperty ("物料编码")
    private String materialCode;

    @ApiModelProperty ("物料名称")
    private String materialName;

    @ApiModelProperty ( "规格型号" )
    private String materialModel;

    @ApiModelProperty ("询价/计价单位")
    private String unit;

    @ApiModelProperty ("报价数量（报价单才有）")
    private Integer quotationNum;

    @ApiModelProperty ("单价（报价单才有）")
    private String price;

    @ApiModelProperty ("含税单价")
    private String taxPrice;

    @ApiModelProperty (" 询报价结果（报价单才有）")
    private String result;

    @ApiModelProperty ("确认数量")
    private Integer confirmNum;

    @ApiModelProperty ("确认单价")
    private String confirmPrice;

    @ApiModelProperty ("确认含税单价")
    private String confirmTaxPrice;

    @ApiModelProperty ("确认意见（报价单才有）")
    private String confirmComment;

    @ApiModelProperty ("状态")
    private String state;

    @ApiModelProperty ("状态名称")
    private String stateName;

    @ApiModelProperty ( "流程实例id" )
    private String instanceId;

    @ApiModelProperty ( "当下审批人" )
    private String approvedUser;

    @ApiModelProperty ( "审批内容" )
    private String remark;

    @ApiModelProperty ( "当前任务信息" )
    private ActCurrentTaskVo currentTask;

}
